getItemId

open fun getItemId(position: Int): Long(source)

Return a unique identifier for the item at the given position.

The default implementation returns the given position. Subclasses should override this method if the positions of items can change.

Return

Unique identifier for the item at position

Parameters

position

Position within this adapter